<%-- 
    Document   : formAtuSituacaoR
    Created on : 23/01/2013, 17:46:06
    Author     : Alessandra
--%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <style type="text/css">
            label{
                float:left;
                width: 50px;
                margin: 0px 15px 5px 0px;
            } 

            input{
                margin: 0px 15px 5px 0px;
            }
        </style>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Atualizando </title>
        <jsp:useBean id="situacaoR" class="br.com.senac.entidades.SituacaoReserva" scope="session"/>
    </head>
    <body>
        <h1>Atualizar</h1>
        <div id="principal" style="width: 500px; margin: 0px auto;">
            <fieldset>
                <legend>Alterando</legend>
                <form method="POST" action="cnt.situacaoReserva?cmd=alterar">
                    <label for="id">ID:</label>
                    <input id="id" name="id" type="hidden" value="${situacaoR.id}" readonly="readonly"/>                    
                    <label for="status">Status:</label>
                    <input id="status" name="status" type="text"  value="${situacaoR.status}"/> <br/>

                    <input value="Alterar" type="submit"/>
                    <a href="javascript:window.history.go(-1)">
                        <input type="button"  value="Cancelar"/>
                    </a>
                </form>

            </fieldset>
        </div>
    </body>
</html>